import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-04-22
 * Time: 13:26
 */
public class Demo1 {
    public static void main(String[] args) {
        File file = new File("./aaa/text.txt");
        System.out.println(file.getName());
        System.out.println(file.getAbsolutePath());
    }
}
